package com.frx.test;

import java.util.LinkedHashMap;
import java.util.Map;

/**
 * Created with IDEA
 *
 * @author: xrf
 * @Date: 2019/10/17
 * @Time: 21:54
 */
public class Main {

    public static void main(String[] args){

        Map<Integer,Integer> map = new LinkedHashMap<>(10,0.75f,true);
        map.put(2,1);
        map.put(3,2);
        map.put(1,3);
        map.put(3,6);
        map.get(2);
        for (Map.Entry e : map.entrySet()){
            System.out.println(e.getKey() + ", " + e.getValue());
        }
/*        a = a^b;
        b = a^b;
        a = a^b;
        System.out.println(a);
        System.out.println(b);*/


    }
}
